package com.cac.demo.util.adapter;

import org.springframework.util.StringUtils;

/**
 * @className: BusinessUtil
 * @description: （描述这个类的作用）
 * @author:
 * @date: 2024/6/22 11:24:24 周六
 * @version: 1.0
 */
public class BusinessUtil {

    public BusinessUtil() {
    }

    public static String getSortExpColumnName(String sidx, String sord, Class<?> clazz) {
        String sortExp = null;
        if (StringUtils.hasText(sidx) && StringUtils.hasText(sord)) {
            sortExp = " " + sidx + " " + sord;
        }

        return sortExp;
    }
}
